//
//  MyHeaderFooterView.m
//  Question
//
//  Created by QC.L on 15/11/28.
//  Copyright © 2015年 QC.L. All rights reserved.
//

#import "MyHeaderFooterView.h"

@interface MyHeaderFooterView ()
@property (nonatomic, retain) UILabel *label;
@end

@implementation MyHeaderFooterView


- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithReuseIdentifier:reuseIdentifier];
    if (self) {
        self.label = [[UILabel alloc] init];
//        self.label.text = @"随意";
        [self.contentView addSubview:self.label];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.label.frame = self.contentView.frame;
    self.label.text = @"随意";
}




/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
